package uk.dier.account.dto;

import java.util.HashSet;
import java.util.Set;

public class MarketDto implements java.io.Serializable {

	private static final long serialVersionUID = -1013647067944191995L;
	private Integer marketId;
	private String marketName;
	private Set<ProductDto> products = new HashSet<ProductDto>(0);

	public MarketDto() {
	}

	public MarketDto(String marketName) {
		this.marketName = marketName;
	}

	public MarketDto(String marketName, Set<ProductDto> products) {
		this.marketName = marketName;
		this.products = products;
	}

	public Integer getMarketId() {
		return this.marketId;
	}

	public void setMarketId(Integer marketId) {
		this.marketId = marketId;
	}

	public String getMarketName() {
		return this.marketName;
	}

	public void setMarketName(String marketName) {
		this.marketName = marketName;
	}

	public Set<ProductDto> getProducts() {
		return this.products;
	}

	public void setProducts(Set<ProductDto> products) {
		this.products = products;
	}

}
